home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_300 / 353_02 / vehicle.h < prev    next >
C/C++ Source or Header  |  1992-01-18  |  350b  |  19 lines

  1.                                   // Chapter 7 - Program 1
  2. // vehicle header file
  3.  
  4. #ifndef VEHICLE_H
  5. #define VEHICLE_H
  6.  
  7. class vehicle {
  8. protected:
  9.    int wheels;
  10.    float weight;
  11. public:
  12.    void initialize(int in_wheels, float in_weight);
  13.    int get_wheels(void);
  14.    float get_weight(void);
  15.    float wheel_loading(void);
  16. };
  17.  
  18. #endif
  19.